package cc.mrbird.febs.accounting.dto.importAndExport;

import cc.mrbird.febs.business.entity.Business;
import cc.mrbird.febs.accounting.entity.DetailCost;
import cc.mrbird.febs.accounting.entity.StandardSubExtra;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class ImportExcelData {
    // 存在金额错误标识位
    private Boolean hasErrorNum;
    private Integer hasErrorMonth = -1;  // 存在错误金额标识位
    // 成功导入数据行数
    private Integer successNum;
    // 未导入数据行
    private List<Integer> errorProjectList = new ArrayList<>();
    private List<Integer> errorSubjectList = new ArrayList<>();
    private String ImportMessage;
//    导入数据
    private List<DetailCost> detailCosts = new ArrayList<>();
    private List<Business> businesses = new ArrayList<>();
//    下面两行没有用
    private List<DetailCost> mainCosts;
    private List<StandardSubExtra> standardSubExtras;
    // 导入excel与模板相符标识位
    private Boolean errorTemplate;
}
